package com.example.modelfunction.shrio.usermanager.repository;

import com.example.base.repository.BaseRepository;
import com.example.modelfunction.shrio.usermanager.mode.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UserRepository extends BaseRepository<User, Long> {
    User findByAccount(String account);
    List<User> findByName(String account);
    User findByTel(String tel);

}
